﻿<Window x:Class="PowerSong.UserInterface.ConfigurePowerSongWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PowerSong Configuration" Height="385" Width="517" Icon="/PowerSong;component/Icons/BlackIcon.ico"
        WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="SingleBorderWindow" xmlns:my="clr-namespace:PowerSong.UserInterface">
    <Grid>
        <TabControl Margin="12,12,12,41" TabStripPlacement="Top">
            <TabItem Header="General Settings">
                <Grid>
                    <TextBlock HorizontalAlignment="Left" Margin="6,6,0,0" Text="Song Previews" VerticalAlignment="Top" FontWeight="Bold" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,58,0,0" Text="Projection" VerticalAlignment="Top" FontWeight="Bold" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,110,0,0" Text="Reporting" VerticalAlignment="Top" FontWeight="Bold" />
                    <CheckBox Content="Show previews when selecting a song" IsChecked="{Binding PopupSongPreviews, Mode=OneTime}" Height="16" HorizontalAlignment="Left" Margin="20,28,0,0" Name="PopupSongPreviewsCheckBox" VerticalAlignment="Top" />
                    <CheckBox Content="Create a projection window automatically on startup" IsChecked="{Binding AutoCreateProjectionWindow, Mode=OneTime}" Height="16" HorizontalAlignment="Left" Margin="20,80,0,0" Name="AutoCreateProjectionWindowCheckBox" VerticalAlignment="Top" />
                    <CheckBox Content="Record information about projected songs" IsChecked="{Binding EnableReporting, Mode=OneTime}" Height="16" HorizontalAlignment="Left" Margin="20,132,0,0" Name="EnableReportingCheckBox" VerticalAlignment="Top" />
                    <TextBlock TextWrapping="Wrap" Margin="38,154,6,0" Text="If the above check box is checked, then event logging will be enabled. It will then be possible to gather and report on data, such as song usage." VerticalAlignment="Top" />
                </Grid>
            </TabItem>
            <TabItem Header="Bibles">
                <Grid>
                    <TextBlock HorizontalAlignment="Left" Margin="6,6,0,0" Text="The following bible translations are available:" VerticalAlignment="Top" />
                    <ListBox Margin="6,28,87,28" Name="BiblesListBox" />
                    <Button Content="_Add..." Height="23" HorizontalAlignment="Right" Margin="0,28,6,0" Name="AddTranslationButton" VerticalAlignment="Top" Width="75" Click="AddTranslationButton_Click" />
                    <Button Content="Delete" Height="23" HorizontalAlignment="Right" Margin="0,57,6,0" Name="DeleteTranslationButton" VerticalAlignment="Top" Width="75" Click="DeleteTranslationButton_Click" />
                    <Button Content="_Set Active" Height="23" HorizontalAlignment="Right" Margin="0,86,6,0" Name="SetActiveTranslationButton" VerticalAlignment="Top" Width="75" Click="SetActiveTranslationButton_Click" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,0,0,6" Text="Please note: All of these translations are available in all databases." VerticalAlignment="Bottom" />
                </Grid>
            </TabItem>
            <TabItem Header="Scrolling Notices">
                <Grid>
                    <Border BorderBrush="Silver" BorderThickness="1" Height="56" Margin="6,6,6,0" Name="NoticeFontPreviewBorder" VerticalAlignment="Top" CornerRadius="12" Width="449">
                        <TextBlock Name="NoticeFontPreviewTextBlock" Text="This area shows a preview of what scrolling notices will look like" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="8,0,0,0" />
                    </Border>
                    <TextBlock HorizontalAlignment="Left" Margin="267,68,0,0" Text="Foreground:" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="364,68,0,0" Text="Background:" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,144,0,0" Text="Scrolling Speed:" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,173,0,0" Text="Time to Appear:" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,202,0,0" Text="Time to Dissapear:" Height="16" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,231,0,0" Text="Default Duration:" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="202,144,0,0" Text="% of screen width (per second)" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="202,173,0,0" Text="milliseconds" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="202,202,0,0" Text="milliseconds" VerticalAlignment="Top" />
                    <TextBlock HorizontalAlignment="Left" Margin="202,231,0,0" Text="seconds" VerticalAlignment="Top" />
                    <TextBox Name="NoticeSpeedTextBox" Height="23" HorizontalAlignment="Left" Margin="118,141,0,0" Text="{Binding NoticeSpeed, Mode=OneTime}" VerticalAlignment="Top" Width="78" />
                    <my:ColorControl HorizontalAlignment="Left" Margin="267,90,0,0" x:Name="NoticeTextColor" VerticalAlignment="Top" Width="91" BrushChanged="NoticeTextColor_BrushChanged" />
                    <my:ColorControl HorizontalAlignment="Left" Margin="364,90,0,0" x:Name="NoticeBackgroundColor" VerticalAlignment="Top" Width="91" BrushChanged="NoticeBackgroundColor_BrushChanged" />
                    <TextBox Name="NoticeTimeToAppearTextBox" Height="23" HorizontalAlignment="Left" Margin="118,170,0,0" Text="{Binding NoticeTimeToAppear, Mode=OneTime}" VerticalAlignment="Top" Width="78" />
                    <TextBox Name="NoticeTimeToDissappearTextBox" Height="23" HorizontalAlignment="Left" Margin="118,199,0,0" Text="{Binding NoticeTimeToDissappear, Mode=OneTime}" VerticalAlignment="Top" Width="78" />
                    <TextBox Name="NoticeDurationTextBox" Height="23" HorizontalAlignment="Left" Margin="118,228,0,0" Text="{Binding NoticeDuration, Mode=OneTime}" VerticalAlignment="Top" Width="78" />
                    <my:FontControl HorizontalAlignment="Left" Margin="6,90,0,0" x:Name="NoticeFont" VerticalAlignment="Top" Width="255" />
                    <TextBlock HorizontalAlignment="Left" Margin="6,68,0,0" Text="Font:" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
        </TabControl>
        <Button Content="_OK" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" IsDefault="True" />
        <Button Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" IsCancel="True" />
    </Grid>
</Window>
